<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>dictionary</title>
    <%@include file="/static/common/commonHead.jsp" %>
    <script type="text/javascript" src="/static/js/dictionary/dictionary.js"></script>
    <script type="text/javascript" src="/static/js/dictionaryItem/dictionaryItem.js"></script>
</head>
<body>

<%--表格--%>
<div id="cc" class="easyui-layout" data-options="fit:true">
    <div data-options="region:'west',title:'字典目录',split:false" style="width:500px;">
        <table id="dictionary_datagrid"></table>
    </div>
    <div data-options="region:'center',title:'字典目录明细'">
        <table id="dictionaryItem_datagrid" class="easyui-datagrid"></table>
    </div>
</div>


<%--字典目录页面--%>
<div id="entity_dialog">
    <form id="entity_form" method="post">
        <table align="center" style="margin-top: 20px">
            <input type="hidden" name="id"/>
            <tr>
                <td>字典目录编码</td>
                <td>
                    <input class="easyui-textbox" name="sn" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>字典目录名称</td>
                <td>
                    <input class="easyui-textbox" name="name" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>字典目录简介</td>
                <td>
                    <input class="easyui-textbox" name="intro" data-options="required:true">
                </td>
            </tr>
        </table>
    </form>
</div>

<%--字典明细页面--%>
<div id="entity_item_dialog">
    <form id="entity_item_form" method="post">
        <table align="center" style="margin-top: 20px">
            <input type="hidden" name="id"/>
            <tr>
                <td>字典明细名称</td>
                <td>
                    <input class="easyui-textbox" name="name" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>字典明细简介</td>
                <td>
                    <input class="easyui-textbox" name="intro" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>字典目录</td>
                <td>
                    <input class="easyui-textbox" name="parent.name" readonly>
                </td>
            </tr>
        </table>
    </form>
</div>

<%--字典目录工具栏--%>
<div id="tools">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">增加</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="btn_delete">删除字典目录</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadList">刷新</a>
</div>

<%--字典内容工具栏--%>
<div id="itemTools">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-itemcmd="itemadd">增加</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-itemcmd="itemEdit">编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-itemcmd="itemDelete">删除字典目录</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-itemcmd="itemReloadList">刷新</a>
</div>
</body>
</html>
